// vue3-eventbus-plugin.ts
import eventBus from 'vue3-eventbus';
import type { App } from 'vue';

export default (app: App) => {
  app.config.globalProperties.$eventBus = eventBus;
  app.provide('eventBus', eventBus);
};